﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Posy.Master" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="PeonyShop.Default" %>
<%@ Register Src="~/Controls/UCProduct.ascx" TagPrefix="UC" TagName="Product" %>


<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <script src="JS/JQuery/jquery.aslideshow.pack.js" type="text/javascript"></script>
    <link href="Css/JQuery/styles.css" rel="stylesheet" type="text/css" />

    <script type="text/javascript">
        $(document).ready(function () {
            $('#CustomSlideshow').slideshow({
                playframe: false,
                width: 700,
                height: 500,
                effect: 'fade',
                help:'',
                controls: {
                    'hide': true
            }
        }).playSlide();
    });
</script>

</asp:Content>

 <asp:Content ID="Content2" ContentPlaceHolderID="ContentPHLeft" runat="server">
        <div class="logo">
            <img src="Images/Common/logo.jpg" alt="" />
         </div>
        <%--<UC:Product ID="Product" runat="server"></UC:Product>--%>
 </asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ContentPHBody" runat="server">
    <div id="CustomSlideshow" class="slide_home">  

        <%--<a href="Images/Flowers/img1.jpg" title="Camomile"/>Comment here</a>
        <a href="Images/Flowers/img2.jpg" title="Bumblebees"/>Comment here</a>
        <a href="Images/Flowers/img3.jpg" title="Wood Toothpicks"/>Comment here</a>
        <a href="Images/Flowers/img4.jpg" title="Camomile"/>Comment here</a>
        <a href="Images/Flowers/img5.jpg" title="Bumblebees"/>Comment here</a>
        <a href="Images/Flowers/img6.jpg" title="Wood Toothpicks"/>Comment here</a>
        <a href="Images/Flowers/img7.jpg" title="Camomile"/>Comment here</a>
        <a href="Images/Flowers/img8.jpg" title="Bumblebees"/>Comment here</a>
        <a href="Images/Flowers/img9.jpg" title="Wood Toothpicks"/>Comment here</a>
        <a href="Images/Flowers/img10.jpg" title="Camomile"/>Comment here</a>
        <a href="Images/Flowers/img11.jpg" title="Bumblebees"/>Comment here</a>
        <a href="Images/Flowers/img12.jpg" title="Wood Toothpicks"/>Comment here</a>--%>

        <asp:Repeater ID="repImg" runat="server">
            <ItemTemplate>
                <a href="Images/Flowers/<%# DataBinder.Eval(Container.DataItem, "ImgPath") %>" title=""/><asp:Literal ID="spDesc" runat="server" Text=""></asp:Literal> </a>        
            </ItemTemplate>
        </asp:Repeater>

    </div>
</asp:Content>
